@bg-color: rgba(255, 255, 255, 1);

@box-shadow: ();
@color: rgba(51, 51, 51, 1);
@content-bg-color: rgba(249, 249, 249, 1);

.version-comparison {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);

  :global {
    .sub_title {
      font-size: 16px;
      font-weight: 400;
      color: rgba(51, 51, 51, 1);
      display: flex;
      align-items: center;

      i {
        display: block;
        width: 3px;
        height: 18px;
        margin-right: 5px;
        background: rgba(39, 97, 255, 1);
      }
    }

    // 背景颜色
    .content-background {
      position: relative;
      width: 100%;
      height: 275px;
      background: linear-gradient();
      background: linear-gradient(
        to right,
        rgb(84, 44, 243),
        rgb(85, 50, 240),
        rgb(16, 16, 243),
        rgb(18, 91, 250),
        rgb(16, 16, 238),
        #6341ef
      );

      // 标题名
      .title-name {
        display: block;
        height: 100px;
        font-size: 27px;
        font-weight: bold;
        color: rgba(255, 255, 255, 1);
        line-height: 100px;
        text-align: center;
      }

      // vs 样式
      .vs {
        position: absolute;
        bottom: -35px;
        text-shadow: -1px 3px 5px rgb(143, 74, 6);
        left: calc(50% - 28.815px);
        font-size: 50px;
        color: #faad15;
      }

      // 开始对比btn
      .start-contrast {
        width: 100%;
        text-align: center;
        margin-top: 20px;
      }

      .version-info {
        padding: 0 40px;

        // 卡片样式
        .card {
          width: 540px;
          height: 467px;
          background: rgba(255, 255, 255, 1);
          box-shadow: 0px 6px 10px 0px rgba(159, 159, 159, 0.1);
          .card-title {
            padding: 10px;
            text-align: center;
            font-size: 25px;
            font-weight: bold;
            color: rgba(51, 51, 51, 1);
          }

          .ant-divider-horizontal {
            display: block;
            clear: both;
            width: 100%;
            min-width: 100%;
            height: 1px;
            margin: 0;
          }

          .card-sub_title {
            padding: 10px 0 0 10px;
          }

          .ant-tabs-nav .ant-tabs-tab {
            margin: 0;
            padding: 12px;
          }

          .tab-select-box {
            width: 100%;
            height: 342px;
            margin-top: -16px;
            padding: 10px 20px;

            .tab-select-text {
              height: 23px;
            }

            .tab-select-content {
              width: 100%;
              height: calc(100% - 23px);
              // border: solid 1px #e8e8e8;
              padding: 10px 0;
              overflow: auto;

              .loading {
                position: relative;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
              }
            }
          }
        }
      }
    }

    .start-comparison {
      padding: 50px 40px;

      .ant-card {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0px 6px 10px 0px rgba(159, 159, 159, 0.1);
        .ant-divider-horizontal {
          margin: 10px 0px;
        }
      }
    }
  }
}
